<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
         a:link { /* 未访问过得链接状态*/
            color: green;text-decoration: none;
            font-size: 24px;
            font-weight: bold;

        }
        a:visited {
            /*链接已经点过的样子*/
            color: yellow;
        }
        a:hover { /*鼠标经过链接是的样子*/
            color: #f10215;
        }
        a:active {
            /*鼠标按下时候的样子*/
            color: skyblue;
        }

    </style>
</head>
<body>
    <a href="#">链接</a>
    <a href="#1">123</a>
</body>
</html>